package com.itheima.stock.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * ClassName: LimiterProperties
 * Package: com.itheima.stock.properties
 * Description:
 *                允许每秒并发数量
 *
 * @Author Lee
 * @Create 2024/11/1
 */
@Data
@Component
@ConfigurationProperties(prefix = "limiter.config")
public class LimiterProperties {

    /**
     * 允许每秒并发数量（访问接口数量）
     */
    private int concurrentNum;
}
